import Vue from 'vue';
import Router from 'vue-router';
import Grid from '@/views/Grid';
import Editor from '@/views/Editor';
import Search from '@/views/Search';

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      name: 'grid',
      component: Grid,
    },
    {
      path: '/editor',
      name: 'editor',
      component: Editor,
    },
    {
      path: '/search',
      name: 'search',
      component: Search,
    },
  ],
});
